﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000FF RID: 255
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BattleLogReportScRsp : IMessage<BattleLogReportScRsp>, IMessage, IEquatable<BattleLogReportScRsp>, IDeepCloneable<BattleLogReportScRsp>, IBufferMessage
	{
		// Token: 0x17000361 RID: 865
		// (get) Token: 0x06000B90 RID: 2960 RVA: 0x00022261 File Offset: 0x00020461
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BattleLogReportScRsp> Parser
		{
			get
			{
				return BattleLogReportScRsp._parser;
			}
		}

		// Token: 0x17000362 RID: 866
		// (get) Token: 0x06000B91 RID: 2961 RVA: 0x00022268 File Offset: 0x00020468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BattleLogReportScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000363 RID: 867
		// (get) Token: 0x06000B92 RID: 2962 RVA: 0x0002227A File Offset: 0x0002047A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BattleLogReportScRsp.Descriptor;
			}
		}

		// Token: 0x06000B93 RID: 2963 RVA: 0x00022281 File Offset: 0x00020481
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BattleLogReportScRsp()
		{
		}

		// Token: 0x06000B94 RID: 2964 RVA: 0x00022289 File Offset: 0x00020489
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BattleLogReportScRsp(BattleLogReportScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.isBattleLogReport_ = other.isBattleLogReport_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000B95 RID: 2965 RVA: 0x000222BA File Offset: 0x000204BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BattleLogReportScRsp Clone()
		{
			return new BattleLogReportScRsp(this);
		}

		// Token: 0x17000364 RID: 868
		// (get) Token: 0x06000B96 RID: 2966 RVA: 0x000222C2 File Offset: 0x000204C2
		// (set) Token: 0x06000B97 RID: 2967 RVA: 0x000222CA File Offset: 0x000204CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000365 RID: 869
		// (get) Token: 0x06000B98 RID: 2968 RVA: 0x000222D3 File Offset: 0x000204D3
		// (set) Token: 0x06000B99 RID: 2969 RVA: 0x000222DB File Offset: 0x000204DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsBattleLogReport
		{
			get
			{
				return this.isBattleLogReport_;
			}
			set
			{
				this.isBattleLogReport_ = value;
			}
		}

		// Token: 0x06000B9A RID: 2970 RVA: 0x000222E4 File Offset: 0x000204E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BattleLogReportScRsp);
		}

		// Token: 0x06000B9B RID: 2971 RVA: 0x000222F2 File Offset: 0x000204F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BattleLogReportScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.IsBattleLogReport == other.IsBattleLogReport && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000B9C RID: 2972 RVA: 0x00022330 File Offset: 0x00020530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IsBattleLogReport)
			{
				num ^= this.IsBattleLogReport.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000B9D RID: 2973 RVA: 0x00022388 File Offset: 0x00020588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000B9E RID: 2974 RVA: 0x00022390 File Offset: 0x00020590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000B9F RID: 2975 RVA: 0x0002239C File Offset: 0x0002059C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IsBattleLogReport)
			{
				output.WriteRawTag(72);
				output.WriteBool(this.IsBattleLogReport);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000BA0 RID: 2976 RVA: 0x000223F8 File Offset: 0x000205F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IsBattleLogReport)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000BA1 RID: 2977 RVA: 0x00022444 File Offset: 0x00020644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BattleLogReportScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IsBattleLogReport)
			{
				this.IsBattleLogReport = other.IsBattleLogReport;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000BA2 RID: 2978 RVA: 0x00022494 File Offset: 0x00020694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000BA3 RID: 2979 RVA: 0x000224A0 File Offset: 0x000206A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IsBattleLogReport = input.ReadBool();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040004B9 RID: 1209
		private static readonly MessageParser<BattleLogReportScRsp> _parser = new MessageParser<BattleLogReportScRsp>(() => new BattleLogReportScRsp());

		// Token: 0x040004BA RID: 1210
		private UnknownFieldSet _unknownFields;

		// Token: 0x040004BB RID: 1211
		public const int RetcodeFieldNumber = 2;

		// Token: 0x040004BC RID: 1212
		private uint retcode_;

		// Token: 0x040004BD RID: 1213
		public const int IsBattleLogReportFieldNumber = 9;

		// Token: 0x040004BE RID: 1214
		private bool isBattleLogReport_;
	}
}
